#ifndef CERCLE_H
#define CERCLE_H

#include <stdio.h>
#include <string>
#include <algorithm>
#include <vector>
#include <cstdlib>
#include <iostream>
#include <QGLWidget>

#include "glm/glm.hpp"
#include "Point.h"
#include "Forme2D.h"

/*!
* @class Cercle
* @brief Forme 2D de base, le cercle
*/
class CCercle : public CForme2D
{
public:
	CCercle(CPoint _p, int _rayon, int _sens);
	CCercle(CPoint _p, int _rayon, int _prec, int _sens);
	~CCercle();
	void DessineObjet();
	CPoint GetP();
	int GetRayon();
	int GetPrecision();
	int GetSens();

private:
	void SetP(CPoint _p);
	void SetRayon(int _rayon);
	void SetPrecision(int _prec);
	void SetSens(int _sens);

protected:	
	CPoint p;
	int rayon;
	int prec;
	int sens;
};

#endif